PublishPress\Future\Modules\Expirator\Models\ExpirablePostModel B

Total Complexity 91
Dependencies 14
Dependents 14
Total lines 811
Lines of code 430
Logical lines of code 216
Comment lines 174
Methods 26
Properties 17

Methods 26

Method Rating Maintainability Complexity Lines of code
sendEmail()
B
33 11 121
expire()
A
44 11 48
getExpirationDateString()
A
54 8 21
getExpirationTaxonomy()
S
57 6 18
getPermalink()
S
61 5 13
getPostType()
S
61 5 13
getTitle()
S
61 5 13
getExpirationType()
S
56 4 22
syncScheduleWithPostMeta()
S
55 4 19
getExpirationCategoryIDs()
S
60 4 14
calcMetadataHash()
S
59 3 15
getExpirationCategoryNames()
S
61 3 13
getExpirationAction()
S
62 3 13
isExpirationEnabled()
S
66 3 9
getPostTypeSingularLabel()
S
67 2 8
__construct()
S
58 1 15
forceTimestampToUnixtime()
S
71 2 6
hasActionScheduledInPostMeta()
S
71 2 5
getExpirationOptions()
S
72 2 6
expirationEmailIsEnabled()
S
72 1 6
deleteExpirationPostMeta()
S
66 1 9
getExpirationDataAsArray()
S
65 1 9
logOnAction()
S
75 1 4
unscheduleAction()
S
80 1 3
getExpirationDateAsUnixTime()
S
75 1 4
getMetadataHash()
S
80 1 3